package com.cin.cma.server.start;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Date：2024-07-16 14:44
 */
@SpringBootApplication(scanBasePackages = "com.cin.cma.*")
@ComponentScan(basePackages = "com.cin.cma.*")
@MapperScan("com.cin.cma.server.biz.dal.mapper")
@EnableScheduling
public class ServerApplication {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(ServerApplication.class);
        springApplication.setBannerMode(Banner.Mode.OFF);
        springApplication.run(args);
    }
}
